package fi.aalto.cse.T110_5150.P2PClient;

public class Resource {
	private short id;
	private int value;
	
	public Resource(short id, int value) {
		this.id = id;
		this.value = value;
	}
	
	public short getId() {
		return id;
	}
	
	public int getValue() {
		return value;
	}
	
	@Override
	public String toString() {
		return String.format("<0x%02x, 0x%04x>", id, value);		
	}
}
